package com.sora.sora.common.model.bo;

import com.sora.sora.common.model.entity.ImgEntity;
import com.sora.sora.common.model.vo.ImgVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface ImgBasicConvert {

    ImgBasicConvert INSTANCE = Mappers.getMapper(ImgBasicConvert.class);

    ImgVO entityToVO(ImgEntity entity);

    List<ImgVO> entitiesToVoes(List<ImgEntity> entities);
}
